package com.lyz.dataStructure.JianZhiOffer;/**
 * @Author:759057893@qq.com Lyz
 * @Date: ${Date} 16:39
 * @Description:
 **/

import java.util.LinkedList;

/**
 *@Author:759057893@qq.com Lyz
 *@Date: 2019/6/23 16:39
 *@Description:
 **/
public class TreeNode {
    public static void main(String[] args) {
        LinkedList<Integer> linkedList = new LinkedList<>();
        linkedList.add(1);
        linkedList.addLast(3);
        linkedList.add(1,2);
        System.out.println( linkedList.get(0));
        System.out.println( linkedList.get(1));
        System.out.println( linkedList.get(2));

        System.out.println( linkedList.get(1));
    }
}
